package util;

import antlr.collections.AST;

public class NameCollector implements TraverseCall {
    
    public NameCollector() {
        _buf = new StringBuffer();
    }
    
    public void callBack(AST node) {
        _buf.append(node.getText());                
    }
        
    public String getName() {
        return _buf.toString();  
    }
        
    private StringBuffer _buf;
}
